package com.atguigu.eduorder.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.Map;

/**
 * @author 25169
 */
@FeignClient("service-edu")
public interface CourseClient {

    @PostMapping("/eduservice/edu-course/getCourseInfos/{id}")
    com.atguigu.commonutils.CourseWebDtoOrder getCourseInfos(@PathVariable("id") String id);
}
